package org.jerrymouse.agentContainer;

import org.jerrymouse.jsa4j.db.kv.DB;

public abstract class Agent {
	private AgentContainer agentContainer;

	protected DB db;

	protected Agent getAgent(Class<? extends Agent> type) {
		return agentContainer.get(type);
	}

	public void setAgentContainer(AgentContainer agentContainer) {
		this.agentContainer = agentContainer;
	}
}
